# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

include_directories(${HERMES_SOURCE_DIR}/API)
include_directories(${HERMES_JSI_DIR})
set(HERMES_ENABLE_EH ON)

set(HERMES_LINK_COMPONENTS LLVHSupport)

add_hermes_tool(synth
  synth.cpp
)

target_link_libraries(synth
  hermesVMRuntime
  hermesConsoleHost
  hermesapi
)
